/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
 * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the top of the
 * compiled file, but it's generally better to create a new file per style scope.
 *
 *= require_self
 *= require_tree .
 */


@import "bootstrap";
@import "bootstrap-responsive";


//----------------------------- Mis Estilos --------------------------------//
.activo {
  text-decoration: none;
  background: #4D4D4D;
  box-shadow: inset 3px 0 0 #187FDF;
}

.acciones {
  margin-top: -33px;
  margin-right: 10px;
}

body {
  background-image: url('Fondo.png');
}

.btn-edit-back {
  background: #2C83C7;
  padding: 3px 10px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  color: #FFF;
  border: 1px solid #3A73A0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5),
                    0 1px 0 rgba(0, 0, 0, 0.3);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);

  &.regresar {
    margin-left: 5px;
  }

  &:hover {
    color: #FFF;
    text-decoration: none;
    background: #205E8F;
  }
}

.back {
  margin-top: -27px;
  margin-right: 10px;

  a {
    color: #8D8D8D;
    font-weight: 500;
    text-shadow: 0px 1px 0 #FFF;

    &:hover {
      text-decoration: none;
      color: #535353;
    }
  }

  i {
    opacity: .4;
  }
}

.btns {
  background: #E7E7E7;
  border: 1px solid #BDBDBD;
  padding: 5px 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.btn-well {
  margin-top: -8px;
  background: #CCC;
  padding: 3px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.breadcrumbs {
  background: #E5E5E5;
  margin: 0;
  padding: 5px 0 5px 12px;
  -webkit-box-shadow: 0 0 2px #fff;
  -moz-box-shadow: 0 0 2px #fff;
  box-shadow: 0 0 2px #fff;
  border-top: 1px solid #cfcfcf;
  border-bottom: 1px solid #cfcfcf;

  >li {
  display: inline-block;

    >a {
      padding: 8px 8px 8px;
      color: #666;
      font-size: 13px;

      &:hover {
        text-decoration: none;
      }

      i {
        opacity: .6;
        margin-right: 3px;
        margin-top: 0px;
      }
    }
  }
}

.contenedorTabla {
  background: #fbfbfb;
  border: 1px solid #CDCDCD;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  margin-bottom: 20px;
  margin-top: 20px;
  -webkit-box-shadow: 0 2px 2px -2px #CCC;
  -moz-box-shadow: 0 2px 2px -2px #CCC;
  box-shadow: 0 2px 2px -2px #CCC;
}

.contenedorTablaHeader {
  border-top-left-radius: 3px;
  -webkit-border-top-left-radius: 3px;
  -moz-border-radius-topleft: 3px;
  border-top-right-radius: 3px;
  -webkit-border-top-right-radius: 3px;
  -moz-border-radius-topright: 3px;
  background: #EAEAEA;
  background-image: url('…pZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#FDFDFD),color-stop(100%,#EAEAEA));
  background-image: -webkit-linear-gradient(top,#FDFDFD,#EAEAEA);
  background-image: -moz-linear-gradient(top,#FDFDFD,#EAEAEA);
  background-image: -o-linear-gradient(top,#FDFDFD,#EAEAEA);
  background-image: linear-gradient(top,#FDFDFD,#EAEAEA);
  text-shadow: 0 1px 0 #fff;
  border-bottom: 1px solid #cdcdcd;
  color: #747474;
  font-weight: 600;
}

.contenedorTablaCuerpo.item {
  overflow: auto;
}

.contenedor {
  margin-left: 220px;
  margin-right: 0;
  padding-top: 66px;
}

#contextMenu {
  position: absolute;
  display:none;
}

.divider-vertical {
  height: 52px;
}

.datos-orden {
  text-align: right;
  background: #DADADA;
  float: right;
  display: inline-block;
  border: 1px solid #CDCDCD;
  margin-bottom: 10px;
  border-radius: 4px;
  padding: 10px 24px;

  label {
    margin-bottom: 0;
  }

  .campo-orden {
    margin-bottom: 14px;
  }

  input[type="text"] {
    width: 184px;
    color: #8B8B8B;
    font-weight: 800;
    text-align: right;
  }
}

.dropdown-menu li {
  a {
    padding: 3px 20px 3px 12px;
    color: #777;

    i {
      opacity: .5;
    }

    &:hover {
      i {
        opacity: 1;
      }
    }
  }

  &.nav-header {
    background: #C2C2C2;
    color: #777;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    text-align: center;
  }

  &.divider {
    margin: 3px 1px 9px 1px;
  }
}

.footerTabla {
  height: 40px;
  -webkit-border-radius: 0 0 3px 3px;
  -moz-border-radius: 0 0 3px 3px;
  border-radius: 0 0 3px 3px;
  background: #EAEAEA;
  background-image: url('…pZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#FDFDFD),color-stop(100%,#EAEAEA));
  background-image: -webkit-linear-gradient(top,#FDFDFD,#EAEAEA);
  background-image: -moz-linear-gradient(top,#FDFDFD,#EAEAEA);
  background-image: -o-linear-gradient(top,#FDFDFD,#EAEAEA);
  background-image: linear-gradient(top,#FDFDFD,#EAEAEA);
  border-top: 1px solid #cdcdcd;
}

.form-horizontal { 
  .controls {
    margin-left: 0px;
  }
  
  .control-label {
    width: 250px;
  }
}

.form-horizontal .control-group.catalogos {
  border-bottom: 1px solid #eee;
  border-top: 1px solid #fff;
  margin-bottom: 0;
  padding: 8px 16px;

  .control-label.titulos {
    color: #8F8F8F;
    font-size: 12px;
    text-align: left;
    float: none;
    display: inline-block;
    margin-bottom: 2px;
  }

  .controls input {
    padding-left: 8px !important;
  }
}

input::-webkit-input-placeholder {
  color: #bfbfbf;
  font-size: 11px;
}

.input-xlarge {
  width: 95% !important;
  color: #a3a3a3 !important;
  font-size: 12px !important;
  background: #F7F7F7 !important;
}

input:-moz-placeholder {
  color: #bfbfbf;
  font-size: 11px;
}

input[type="text"] {
  padding-left: 27px !important;
}

.info-value {
  display: inline-block;
}

.info-well {
  color: #B9B9B9;
  font-weight: 200;

  i {
    opacity: .5;
  }
}

.labelTable {
  list-style: none;
  float: right;
  margin: -34px 5px;
  padding: 0;
}

.label-nombre {
  background: #EEE;
  padding: 1px 8px;
  color: #8D8D8D;
  border: 1px solid #D5D5D5;
  border-left: 4px solid #38A1D3;
  font-weight: 600;
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 1px 0 #FFF;
}

.label-azul {
  background: #599CC7;
  background-image: url('…pZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#7FB3D4),color-stop(100%,#599CC7));
  background-image: -webkit-linear-gradient(top,#7FB3D4,#599CC7);
  background-image: -moz-linear-gradient(top,#7FB3D4,#599CC7);
  background-image: -o-linear-gradient(top,#7FB3D4,#599CC7);
  background-image: linear-gradient(top,#7FB3D4,#599CC7);
  -webkit-box-shadow: 0 1px 0 #F7F7F7,inset 0 1px 1px #70AACF;
  -moz-box-shadow: 0 1px 0 #f7f7f7,inset 0 1px 1px #70aacf;
  box-shadow: 0 1px 0 #F7F7F7, inset 0 1px 1px #70AACF;
}

.link-asignar {
  font-weight: 500;
  padding: 3px;
}

#menuLateral {
  float: left;
  display: block;
  position: fixed;
  width: 220px;
  margin-top: 52px;
  background: #444;
  height: 100%;

  ul {
    list-style: none;
    border-top: 1px solid #393939;
    border-bottom: 1px solid #4E4E4E;
    margin: 10px 0 0;
    padding: 0;

    li {
      border-top: 1px solid #4E4E4E;
      border-bottom: 1px solid #393939;

      i {
        opacity: .7;
        vertical-align: top;
        margin-right: 10px;
        margin-top: 2px;
      }

      a {
        color: #aaa;
        padding: 9px 0 9px 15px;
        display: block;

        &:hover {
          text-decoration: none;
          background: #4d4d4d;
          box-shadow: inset 3px 0 0 #187FDF;
        }

        span.label {
          background: #333;
          float: right;
          margin: 0px 15px 6px 0px;
          padding: 4px;
          -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.2), inset 0 1px 2px rgba(0,0,0,0.5);
          -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.2), inset 0 1px 2px rgba(0,0,0,0.5);
          box-shadow: 0 1px 0 rgba(255,255,255,0.2), inset 0 1px 2px rgba(0,0,0,0.5);
        }
      }
    }
  }
}

.menuAvatar {
  width: 40px;
  height: 40px;
  margin-bottom: 3px;
  margin-right: 6px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

#menuLateral > ul > li:hover {
  background: #4d4d4d;
}

.menuSecundario {
  margin-top: 0 !important;
  display: none;

  li {
    border-top: 1px solid #333 !important;
    border-bottom: 1px solid #202020 !important;

    a {
      padding: 5px 0 5px 26px !important;
      background: #2a2a2a;
      color: #777 !important;

      &:hover {
        background: #18538A !important;
        color: #CFCFCF !important;
      }
    }
  }
}

.menuActivo > a {
  //background: url("MenuActivo.png") no-repeat scroll right center rgba(0, 0, 0, 0) !important;
}

.navbar .nav > li > a {
  display: inline-block;
}

.navbar-inner {
  background-color: #333;
  background-image: -webkit-gradient(linear, 0 0%, 0 100%, from(#3F3F3F), to(#222));
  background-image: -webkit-linear-gradient(top, #3F3F3F 0%, #222 100%);
  background-image: -moz-linear-gradient(top, #3F3F3F 0%, #222 100%);
  background-image: -ms-linear-gradient(top, #3F3F3F 0%, #222 100%);
  background-image: -o-linear-gradient(top, #3F3F3F 0%, #222 100%);
  background-image: linear-gradient(top, #3F3F3F 0%, #222 100%);
  height: 50px;
  -webkit-box-shadow: 0 1px 0 #333 !important;
  -moz-box-shadow: 0 1px 0 #333 !important;
  box-shadow: 0 1px 0 #333 !important;
  border-bottom: 1px solid #555;
}

.navbar .divider-vertical {
  height: 52px;
  border-left: 1px solid #4E4E4E;
  border-right: 1px solid #2E2E2E;
}

.navbar .nav li.dropdown {
  padding: 0 8px;

  &:hover {
    background: #575757;
    padding: 0 8px;
  }
}

.navbar .nav li.dropdown.open > .dropdown-toggle,
.navbar .nav li.dropdown.active > .dropdown-toggle,
.navbar .nav li.dropdown.open.active > .dropdown-toggle {
  background-color: #555;
  color: #eaeaea;
}

.navbar .nav > li > a.user {
  background: rgba(0, 0, 0, 0);
  color: #C5C5C5;
  text-shadow: none;
  padding: 16px 0;
}

.row-select {
  font-size: 15px;
  color: #2E2E2E;
  //background: #DAEAFF;
}

.searchInput {
  padding: 1px 1px 5px 0px;
  display: inline-block;

  .search {
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    border-radius: 3px !important;
  }

  i {
    position: relative;
    left: 24px;
    top: 1px;
    opacity: .4;
  }
}

.subMenuActivo {
  box-shadow: inset 3px 0 0 #187FDF;
  background: #18538A !important;

  span {
    color: #CFCFCF !important;
  }
}

.tituloTabla {
  padding: 9px;
  font-size: 12px;
  display: block;
}

.tableButtonNew {
  display: inline-block;
  border: 1px solid #2469AA;
  padding: 3px 8px 6px 9px;
  margin-left: 1px;
  box-shadow: inset 0 0 1px #FFF;
  border-radius: 3px;
  background: #1A78CF;

  i {
    opacity: .8;
  }
}

.table-striped tbody tr:nth-child(odd) td {
  background-color: #F3F5F8;
}

.table-hover tbody tr:hover td,
.table-hover tbody tr:hover th {
  background-color: #F3F5F8;
}

.table-bordered {
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;

  thead > tr > th:nth-child(1),
  tbody > tr > td:nth-child(1) {
    border-left: 0;
  }
}

.table-bordered thead > tr > th {
  background: #EAEAEA;
  background-image: url('…pZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#FDFDFD),color-stop(100%,#EAEAEA));
  background-image: -webkit-linear-gradient(top,#FDFDFD,#EAEAEA);
  background-image: -moz-linear-gradient(top,#FDFDFD,#EAEAEA);
  background-image: -o-linear-gradient(top,#FDFDFD,#EAEAEA);
  background-image: linear-gradient(top,#FDFDFD,#EAEAEA);
  text-align: center;
  font-size: 12px;
  padding: 4px 5px 4px 5px;
  color: #7e7e7e;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}

.table-items thead > tr > th,
.table-items tbody > tr > td,
.table-clientes tbody > tr > td:nth-child(1),
.table-clientes tbody > tr > td:nth-child(3),
.table-clientes tbody > tr > td:nth-child(4),
.table-clientes tbody > tr > td:nth-child(5),
.table-clientes tbody > tr > td:nth-child(6),
.table-proveedores tbody > tr > td:nth-child(1),
.table-proveedores tbody > tr > td:nth-child(3),
.table-proveedores tbody > tr > td:nth-child(4),
.table-proveedores tbody > tr > td:nth-child(5),
.table-proveedores tbody > tr > td:nth-child(6),
.table-transportistas tbody > tr > td,
.table-concpCobros tbody > tr > td:nth-child(1),
.table-concpCobros tbody > tr > td:nth-child(3),
.table-concpCobros tbody > tr > td:nth-child(4),
.table-uniMedidas tbody > tr > td:nth-child(1),
.table-uniMedidas tbody > tr > td:nth-child(3),
.table-paises > tbody > tr > td,
.table-usuarios > tbody > tr > td:nth-child(1),
.table-usuarios > tbody > tr > td:nth-child(3),
.table-asign-transportistas > tbody > tr > td:nth-child(2),
.table-asign-proveedores > tbody > tr > td:nth-child(2),
.table-empleados tbody > tr > td {
  text-align: center;
  vertical-align: middle;
}

.table-clientes tbody > tr > td:nth-child(2),
.table-proveedores tbody > tr > td:nth-child(2),
.table-concpCobros tbody > tr > td:nth-child(2),
.table-uniMedidas tbody > tr > td:nth-child(2),
.table-usuarios > tbody > tr > td:nth-child(2) {
  vertical-align: middle;
}

.table-clientes tbody > tr > td > a,
.table-proveedores tbody > tr > td > a,
.table-transportistas tbody > tr > td > a,
.table-concpCobros tbody > tr > td > a,
.table-empleados tbody > tr > td > a {
  color: #579ED6;

  &:hover {
    text-decoration: none;
    color: #1584C2;
  }
}

textarea {
  height: 80px;
}

table {
  color: #78808A;
  font-size: 12px;
}

.table {
  margin-bottom: 0;
}

.well-small {
  padding: 10px;
}

.widget-caja {
  background: #FFF;
  border: 1px solid #CDCDCD;
  margin-top: 26px;
  margin-bottom: 20px;
  -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.07);
  -moz-box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.07);
  box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.07);
}

.widget-caja.ordenes {
  clear: both;
}

.widget-titulo {
  background-color: #EFEFEF;
  background-image: -webkit-gradient(linear, 0 0%, 0 100%, from(#FDFDFD), to(#EAEAEA));
  background-image: -webkit-linear-gradient(top, #FDFDFD 0%, #EAEAEA 100%);
  background-image: -moz-linear-gradient(top, #FDFDFD 0%, #EAEAEA 100%);
  background-image: -ms-linear-gradient(top, #FDFDFD 0%, #EAEAEA 100%);
  background-image: -o-linear-gradient(top, #FDFDFD 0%, #EAEAEA 100%);
  background-image: -linear-gradient(top, #FDFDFD 0%, #EAEAEA 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#eaeaea',GradientType=0 );
  height: 36px;
  border-bottom: 1px solid #CDCDCD;

  h5 {
    color: #747474;
    padding: 8px;
    text-shadow: 0 1px 0 #FFF;
    font-size: 13px;
    font-weight: bold;
    margin: 0;
  }
}

.widget-footer {
  background: #F5F5F5;
  border-top: 1px solid #DDD;
  padding: 16px;
}

.widget-contenido.items {
  select {
    width: 100%;
  }
}

.widget-contenido {
  padding: 0;

  table {
    tbody {
      tr td {
        padding: 4px 6px;
        vertical-align: middle;
      }
    }
  }
}





//----------------------------- Media Querys -------------------------------//
@media (max-width: 767px) {
  body {
    padding-left: 0;
    padding-right: 0;
  }
}
//--------------------------- Fin Media Querys -----------------------------//

